
CC = gcc

CFLAGS = -Wall
# CFLAGS += -std=c11
CFLAGS += -D__STDC_NO_THREADS__
# CFLAGS += -D_POSIX_C_SOURCE=199309L

LDFLAGS = 
LDFLAGS += -pthread

all: build

build:
	$(CC) $(CFLAGS) $(LDFLAGS) -o main main.c

clean:
	rm -rf main *.o
